#ifndef INPUTELEMENT_H_
#define INPUTELEMENT_H_
#include "MenuElement.h"
#include "KeyTable.h"
#include "TextBox.h"

class InputElement : public MenuElement
{
	int numChars;
	int numLines;
	float textSize;
	KeyTable keyTable;
	bool bsKeyIsDepressed;
	bool bsKeyWasDepressed;
	TextBox * textBox;
	
	
	public:
	InputElement(TextureManager * textureManager,Vector2D position,float textSize, int numChars, int numLines);
	InputElement(TextureManager * textureManager,Vector2D position,float textSize, int numChars);
	~InputElement();
	virtual bool HandleUserInput(unsigned char key, int modifier, bool isDepressed);
	virtual void Draw(Vector2D parentPosition);
	virtual void Clicked(Vector2D mousePosition);
	virtual void SetContent(char * content);
	virtual char * GetContent();
};

#endif /*INPUTELEMENT_H_*/
